/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Estructuras;

/**
 *
 * @author jose
 */
public class cfs_rq {

    public load_weight load;
    public int nr_running;

    public long exec_clock;
    public long min_vruntime;

    public Task_struct rb_leftmost;  //El tipo deberia ser rb_node;

    public sched_entity curr;

    public cfs_rq(){
        this.load = new load_weight();
        this.nr_running = 0;
        this.exec_clock = 0;
        this.min_vruntime = 0;
        this.rb_leftmost = null;
        this.curr = null;
    }

    public void increase_nr_running(){
        this.nr_running++;
    }

    public void decrease_nr_running(){
        this.nr_running--;
    }

    public sched_entity getCurr() {
        return curr;
    }

    public void setCurr(sched_entity curr) {
        this.curr = curr;
    }


}
